@model mtm.Articles.Models.EditorsModel
@{ 
    /* Copyright ? 2009 - 2010 Oleg Stuhin & Rostislav Haitovich 
       To learn more about mytrip.mvc visit  
       http://mytripmvc.net  http://mytripmvc.codeplex.com 
       mytripmvc@gmail.com
       license: Microsoft Public License (Ms-PL) */ 
}
@{
     ViewBag.Title = Html.MytripPageTitle(Model.PageTitle);
     ViewBag.Keywords = mtm.Articles.ModuleSetting.ArticlesPageKeyWords();
     ViewBag.Description = mtm.Articles.ModuleSetting.ArticlesPageDesc();
}
@section scriptlink{
@Html.ScriptLink("jquery.validate.min.js,jquery.validate.unobtrusive.min.js,mtm.jHtmlArea.js,mtm.jHtmlArea.Smiles.js,Page/Articles.js")
}
@section content{
@Html.BreadCumps(">", Model.bread)
<h1 class="title">
@Model.PageTitle</h1>
 <table id="drop" class="noborders">
    <tr class="profile2">
      <td colspan="2">
		@using (Html.BeginForm("Editors","Article", FormMethod.Post, new { id = "journalistForm" }))  {
		@Html.DropDownListFor(model => model.User, Model.Editors)
		}
      </td>
      <td style="width: 125px;text-align:center;">
         @ArticleLanguage.date
      </td>
    </tr>
	 @Html.EditorActivity(Model.User)
 </table>
<div class="button">
@Html.MytripButton("/Core/ControlPanel", CoreLanguage.Backtocontrolpanel, false,"left")
</div>

<div id="modalJournalist" class="window"> 
<div class="modalTC">@ArticleLanguage.reassign_journalist</div>
<div class="modalC">
<table class="leftmidle"><tr><td>
@Html.MytripImage("/images/warning.png","warning","i")
</td><td>
<h3 class="hometitle">@ArticleLanguage.select_user</h3>
@using (Html.BeginForm("Editors","Article", FormMethod.Post, new { id = "modalJournalistForm" }))  {
@Html.DropDownListFor(model => model.NewUser, Model.NewEditors)
<div id="subcats">
@Html.CheckBoxFor(model => model.SubCategory)
@Html.LabelFor(x => x.SubCategory, ArticleLanguage.include_subcategories)
</div>
@Html.HiddenFor(model => model.User)
@Html.HiddenFor(model => model.Data)
<div class="button">
@Html.MytripButton(CoreLanguage.cancel, false, "cancel","right")
@Html.MytripButton("   Ok   ", true, "okJournalistEdit","right") 
</div>    
		}
</td></tr></table>
</div> 
</div>
}